﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ODailyReport_GetMachineTaskTime4_GroupBySerialNumber.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.ODailyReport_GetMachineTaskTime4_GroupBySerialNumber" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <style type="text/css">
        html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { padding:0; margin:0; font-size:12px; line-height:100%; font-family:Arial, sans-serif;}
table{}
        .table{ border:1px solid #000; border-collapse:collapse;}
        .table th{ text-align:center; line-height:25px;border:1px solid #000;}
        .table td{ text-align:left; line-height:16px;border:1px solid #000;}
    </style>
    <script src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../js/dwz.core.js" type="text/javascript"></script>
<script src="../js/dwz.util.date.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table>
     <tr>
     <td  valign="top">
        <asp:chart id="MachineTaskTimeChart4" runat="server" Width="600px" 
            BackImageWrapMode="Scaled" BackSecondaryColor="DimGray" ImageType="Jpeg" 
             Height="1200px" Palette="Chocolate"><Series>
            <asp:Series Name="Series1" IsValueShownAsLabel="True" XValueType="String" 
                YValueType="Single" ChartArea="ChartArea1" ChartType="Bar" LabelFormat="{f2}"></asp:Series></Series><ChartAreas>
                    <asp:ChartArea Name="ChartArea1"
                        BackGradientStyle="TopBottom" 
                        BackImageAlignment="Center" BackSecondaryColor="0, 192, 192">
                <AxisY ArrowStyle="Triangle" TextOrientation="Stacked" Title="工时/小时" 
                    IntervalAutoMode="VariableCount">
                </AxisY>
                <AxisX ArrowStyle="Triangle" Title="工位" 
                    TitleFont="新宋体, 10.5pt" IsLabelAutoFit="False" 
                    MaximumAutoSize="50" IntervalAutoMode="VariableCount"
                    LabelAutoFitStyle="IncreaseFont, DecreaseFont, StaggeredLabels, LabelsAngleStep30, LabelsAngleStep45, WordWrap" 
                    TitleAlignment="Far" TitleForeColor="Red">
                    <LabelStyle IsEndLabelVisible="False" IsStaggered="True" />
                </AxisX>
                <AxisX2 Enabled="False" IntervalAutoMode="VariableCount">
                </AxisX2>
                <AxisY2 Enabled="False">
                </AxisY2>
                <area3dstyle Rotation="5" Perspective="1" Enable3D="false" Inclination="10" 
                            IsRightAngleAxes="False" WallWidth="0" />
                </asp:ChartArea></ChartAreas>
            <Titles>
                <asp:Title Font="楷体, 12pt, style=Bold" Name="Title1" Text="按项目{0}统计工位工时">
                </asp:Title>                
            </Titles>
        </asp:chart>
    </td>
     <td  valign="top">
        <asp:repeater id="rpMachineTaskTimeChart4" runat="server">
        <HeaderTemplate>
            <table class="table" width="100%" layouth="138">
            <thead>
                <tr  >  
                    <th width="80" align="center">
                        工位
                    </th>
                    <th width="80">
                        总工时
                    </th>
                
                </tr>
            </thead>
            <tbody>
         </HeaderTemplate>
         <ItemTemplate>
                <tr target="sid_user" >			
				    <td><%# Eval("GongWei")%></td>
				    <td><%# Convert.ToDecimal( Eval("TaskTime")).ToString("f2")%></td>
			    </tr>
         </ItemTemplate>
         <FooterTemplate>
                </tbody>
             </table>
         </FooterTemplate>
        </asp:repeater>
    </td>
    </tr>
    </table>
    </form>
</body>
</html>
